package com.lmaye.lr.service.user.controller;


import com.lmaye.lr.common.result.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 用户表 前端控制器
 * </p>
 *
 * @author lmay.Zhou
 * @since 2020-04-02
 */
@Api(tags = "用户服务")
@RestController
@RequestMapping("/user")
public class UserController {
    /**
     * 测试
     *
     * @return ResponseResult
     */
    @ApiOperation("测试")
    @GetMapping("/index")
    public ResponseResult<String> index() {
        return ResponseResult.success("Welcome To Live Room.");
    }
}

